<!DOCTYPE html>
<title>Testing evaluation order</title>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script type="module">
  import "./evaluation-order-setup.mjs";
  globalThis.expectedLog = [
    "step-3.1-1", "step-3.1-2", "step-3.1-3", "microtask-3.1",
    "script-load",
    "step-3.2-1", "step-3.2-2", "microtask-3.2",
    "import-catch", "error"
  ];
</script>

<script type="module" src="evaluation-order-3.1.mjs"
    onerror="globalThis.unreachable()"
    onload="globalThis.log.push('script-load')">
 </script>
